/*
 *  Copyright 2023 Collate.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  http://www.apache.org/licenses/LICENSE-2.0
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

@import '../../../styles/variables.less';

.asset-selection-model-card.table-data-card-container {
  box-shadow: none !important;
}
.asset-selection-model-card.table-data-card-container:hover {
  box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.13);
}

.asset-selection-model-card {
  // CheckBox
  .ant-checkbox-inner {
    border-width: 2px;
    height: 20px;
    width: 20px;
    border-color: @primary-color;
  }

  .ant-checkbox-inner::after {
    top: 44%;
    left: 18.5%;
    width: 6.5px;
    height: 11px;
  }

  .data-asset-info-row {
    gap: 16px;
  }

  .entity-header-display-name {
    font-weight: 500 !important;
    max-width: 450px;
  }
  .entity-header-container {
    max-width: none;
    min-width: auto;
  }
}

.asset-selection-modal {
  .rc-virtual-list-holder {
    overflow-x: hidden;
  }
  .assets-checkbox {
    .ant-checkbox-inner {
      border-width: 2px;
      height: 20px;
      width: 20px;
      border-color: @primary-color;
    }
    .ant-checkbox-inner::after {
      top: 44%;
      left: 18.5%;
      width: 6.5px;
      height: 11px;
    }
  }
}

.asset-selection-space {
  .ant-space-item {
    &:has(> .asset-list-wrapper) {
      flex: 1;
      overflow-y: scroll;
    }
  }
}
